package com.bonc.apicreator.dao;


import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

import com.bonc.apicreator.entity.SqlSentence;


/**
 * rowkeyDao
 *
 * @author gaopengyu
 * @version 2016年9月29日
 * @see SqlDao
 * @since
 */
@Transactional
public interface SqlDao extends JpaRepository<SqlSentence, Long> {

    /**
     * 
     * Description: 查询当前api的自定义sql
     * 
     *@param apiId
     *@return SqlSentence
     *
     * @see
     */
    SqlSentence findByApiId(Long apiId);
}
